﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Universum.Model.Domain;

namespace Universum.Model.Services.Indexing
{
	public interface IIndexingServiceBase<TEntity> 
		where TEntity:DomainEntity
	{
		void Add(TEntity entity);
		void Remove(TEntity entity);
		void Update(TEntity entity);

		List<TEntity> Find(string query, int pageIndex, int pageSize); 
	}
}
